﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleAppServer.Core
{
    /// <summary>
    /// IFilter
    /// </summary>
    public interface IFilter<T>
    {
        /// <summary>
        /// 过滤检测
        /// </summary>
        /// <returns>是否通过</returns>
        bool IsAllow(T item);
    }
}
